//
//  Arc.m
//  NXTRemoteController
//
//  Created by naceka on 05.06.12.
//  Copyright 2012 __MyCompanyName__. All rights reserved.
//

#import "Motion.h"


@implementation Motion

- (Motion *) initWithLength:(int) l andDirection:(enum MotionDirection) d {
	self = [super init];
	length = l;
	direction = d;
	NSLog(@"Motion l %d d %d", l, d); 
	return self;
}
	
- (int) getLength {
	return length;
}

- (enum MotionDirection) getDirection {
	return direction;
}

@end
